Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabs.Style Property

Defines the control's basic style.

Syntax

Get
VBStyle = object.Style As SftTabsStyleConstants
Put
VBobject.Style = Style As SftTabsStyleConstants

object

A SftTabs object.

Style

Defines the control's basic style.

StyleValueWindows
Themes
Orien-
tation
Multi-
Rows
Multi-
Line
MarginClient-
Area
Scroll
styleSftTabsStdTop0horizontalyesyesyesyesyes
styleSftTabsStdLeft1verticalyesyesyesyesyes
styleSftTabsStdLeftV 1)2verticalyesnoyesyesyes
styleSftTabsStdRight3verticalyesyesyesyesyes
styleSftTabsStdRightV 1)4verticalyesnoyesyesyes
styleSftTabsStdBottom5horizontalyesyesyesyesyes
styleSftTabsStd2Top6horizontalyesyesyesnono
styleSftTabsStd2Left7verticalyesyesyesnono
styleSftTabsStd2LeftV 1)8verticalyesnoyesnono
styleSftTabsStd2Right9verticalyesyesyesnono
styleSftTabsStd2RightV 1)10verticalyesnoyesnono
styleSftTabsStd2Bottom11horizontalyesyesyesnono
styleSftTabsWizard12n/an/an/an/ayesno
styleSftTabsSimpleTop13horizontalyesyesyesyesyes
styleSftTabsSimpleBottom14horizontalyesyesyesyesyes
styleSftTabsBookBottom15horizontalyesyesyesyesyes
styleSftTabsBookRight16verticalyesyesyesyesyes
styleSftTabsBookRightV 1)17verticalyesnoyesyesyes
styleSftTabsBook2Bottom18horizontalyesyesyesyesyes
styleSftTabsBook2Right19verticalyesyesyesyesyes
styleSftTabsBook2RightV 1)20verticalyesnoyesyesyes
styleSftTabsModernTop 2)21yeshorizontalyesyesyesyesyes
styleSftTabsModernLeftV 1)22verticalyesnoyesyesyes
styleSftTabsModernRightV 1)23verticalyesnoyesyesyes
styleSftTabsModernBottom24horizontalyesyesyesyesyes
styleSftTabsModernLeft25verticalyesyesyesyesyes
styleSftTabsModernRight26verticalyesyesyesyesyes
styleSftTabsSimple2Top27horizontalyesyesyesyesyes
styleSftTabsSimple2Bottom28horizontalyesyesyesyesyes
styleSftTabsSimple3Bottom29horizontalyesyesyesyesyes
styleSftTabsStdDualTopBottom30horizontalyesyesyesyesno
styleSftTabsStdDualLeftRight31verticalyesyesyesyesno
styleSftTabsStdDualLeftRightV 1)32verticalyesnoyesyesno
styleSftTabsModernDualTopBottom33horizontalyesyesyesyesno
styleSftTabsModernDualLeftRight34verticalyesyesyesyesno
styleSftTabsModernDualLeftRightV 1)35verticalyesnoyesyesno
styleSftTabsSquareTop36horizontalyesyesyesyesyes
styleSftTabsSquareLeft37horizontalyesyesyesyesyes
styleSftTabsSquareLeftV 1)38verticalyesnoyesyesyes
styleSftTabsSquareRight39horizontalyesyesyesyesyes
styleSftTabsSquareRightV 1)40verticalyesnoyesyesyes
styleSftTabsSquareBottom41horizontalyesyesyesyesyes
styleSftTabsSquareDual42horizontalyesyesyesyesno
styleSftTabsSquareDualLeftRightV 1)43verticalyesnoyesyesno
styleSftTabsSquare2Top44horizontalyesyesyesyesyes
styleSftTabsSquare2Left45horizontalyesyesyesyesyes
styleSftTabsSquare2LeftV 1)46verticalyesnoyesyesyes
styleSftTabsSquare2Right47horizontalyesyesyesyesyes
styleSftTabsSquare2RightV 1)48verticalyesnoyesyesyes
styleSftTabsSquare2Bottom49horizontalyesyesyesyesyes
styleSftTabsSquare2Dual50horizontalyesyesyesyesno
styleSftTabsSquare2DualLeftRightV 1)51verticalyesnoyesyesno
styleSftTabsSquareLightTop52horizontalnoyesyesyesyes
styleSftTabsSquareLightLeft53horizontalnoyesyesyesyes
styleSftTabsSquareLightLeftV 1)54verticalnonoyesyesyes
styleSftTabsSquareLightRight55horizontalnoyesyesyesyes
styleSftTabsSquareLightRightV 1)56verticalnonoyesyesyes
styleSftTabsSquareLightBottom57horizontalnoyesyesyesyes
styleSftTabsSquareLightDual58horizontal1 or 2yesyesyesno
styleSftTabsSquareLightDualLeftRightV 1)59vertical1 or 2yesyesyesno
styleSftTabsModern2Top60horizontalyesyesyesyesyes
styleSftTabsModern2LeftV 1)61verticalyesnoyesyesyes
styleSftTabsModern2RightV 1)62verticalyesnoyesyesyes
styleSftTabsModern2Bottom63horizontalyesyesyesyesyes
styleSftTabsModern2DualTopBottom64horizontalyesyesyesyesyes
styleSftTabsModern2DualLeftRightV 1)65verticalyesnoyesyesyes
styleSftTabsButtonsTop66yeshorizontalyesyesyesyesyes
styleSftTabsButtonsLeft67yeshorizontalyesyesyesyesyes
styleSftTabsButtonsLeftV 1)68yesverticalyesnoyesyesyes
styleSftTabsButtonsRight69yeshorizontalyesyesyesyesyes
styleSftTabsButtonsRightV 1)70yesverticalyesnoyesyesyes
styleSftTabsButtonsBottom71yeshorizontalyesyesyesyesyes
styleSftTabsButtonsDualTopBottom72yeshorizontalyesyesyesyesyes
styleSftTabsButtonsDualLeftRight73yeshorizontalyesyesyesyesyes
styleSftTabsButtonsDualLeftRightV 1)74yesverticalyesnoyesyesyes

Comments

The Style property defines the control's basic style.

Tab control styles marked 1) use a rotated font.

The Attributes property page can be used to determine the display style of the tab control, based on the defined Style property.

Depending on the tab control style defined using the Style property, certain other properties may no longer apply and are ignored. The property dialogs can be used to determine if a tab style supports certain properties.

A scrollable tab control (see Scrolling.Style) only supports one row of tabs.

2) When Windows themes are used with tab style styleSftTabsModernTop, a single tab on a tab row with insufficient space for the tab will result in an incorrect display. The only workaround is to use another tab style or to turn off Windows themes for the control (see UseThemes property).

Example

Private Sub Form_Load()
    SftTabs1.Tabs.Rows = 2
    SftTabs1.Style = styleSftTabsModernDualLeftRightV
End Sub

See Also SftTabs Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.